package ipdesk.model.businessInfo.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import ipdesk.model.businessInfo.bean.BusinessCustomerInfoBean;
import ipdesk.model.businessInfo.bean.BusinessInfoBean;


public interface IBusinessInfo
{
	public int getCompanyCodeCount(BusinessInfoBean businessInfoBean);
	public int businessInfoReg(BusinessInfoBean businessInfoBean) throws Exception;
	public void bizCustomerInfoReg(BusinessInfoBean businessInfoBean);
	public int getDataTotalCount(BusinessInfoBean businessInfoBean) throws Exception;
	public List<BusinessInfoBean> getPagingDataListForUser(Map map) throws Exception;
	public List<BusinessCustomerInfoBean> getAllCustomerListForCompany(int companySeq);
	public List getCompanyList(String deskCode);
	public List getCustomerList(int companySeq);
	public BusinessInfoBean getDataOneRow(int companySeq, String queryId);
	public int companyUpdate(BusinessInfoBean businessInfoBean, String queryId);
	public void bizCompanyInfoDelete(BusinessInfoBean businessInfoBean, String queryId);
	public void bizCustomerInfoUpdate(BusinessInfoBean businessInfoBean, String queryId);
	public void bizCustomerInfoDelete(BusinessInfoBean businessInfoBean, String queryId);
	
	public List<BusinessInfoBean> getSearchCompany(BusinessInfoBean businessInfoBean);
	public int getSearchCount(BusinessInfoBean businessInfoBean);
	
	public int checkHeadName(BusinessInfoBean businessInfoBean);
}
